Does [Serializable] work for inherited classes?

Posted by MattiasK on Stack Overflow See other posts from Stack Overflow or by MattiasK
Published on 2011-01-05T23:37:05Z Indexed on 2011/01/05 23:54 UTC
Read the original article Hit count: 164

Filed under:
|
|
|

I haven't worked much with remoting so excuse this rather rudimentary question, If I derive a class from an abstract class marked as [Serializable] (for passing the data across an appdomain), does the other side get the actual overriden implementation? ie does polymorphism work over remoting/Serializable?

I need to create a clone on the other side rather than operating on the original so MarshalByRef is not an option...

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET